home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 119
/
(Vol 119) Nov 09 2010.iso
/
TGKI-109
/
Games
/
bounce_crusher.swf
/
scripts
/
frame_40
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
2KB
|
98 lines
stop();
removeAllClips();
_root.onEnterFrame = function()
{
back3._x = -440 + _xmouse / 1.5;
back2._x = -300 + _xmouse / 4;
back1._x = -230 + _xmouse / 8;
};
menuButton.onRollOver = function()
{
this._xscale = 120;
this._yscale = 120;
};
menuButton.onRollOut = function()
{
this._xscale = 100;
this._yscale = 100;
};
menuButton.onPress = function()
{
_root.gotoAndStop("menuScreen");
};
sound_button_on.onPress = function()
{
_root.sound_on = true;
};
sound_button_off.onPress = function()
{
_root.sound_on = false;
};
sound_button_on.onEnterFrame = function()
{
if(_root.sound_on == true)
{
this._alpha = 100;
}
else
{
this._alpha = 25;
}
};
sound_button_off.onEnterFrame = function()
{
if(_root.sound_on == true)
{
this._alpha = 25;
}
else
{
this._alpha = 100;
}
};
quality_button_low.onPress = function()
{
_root.game_quality = "LOW";
};
quality_button_low.onEnterFrame = function()
{
if(_root.game_quality == "LOW")
{
this._alpha = 100;
}
else
{
this._alpha = 25;
}
};
quality_button_medium.onPress = function()
{
_root.game_quality = "MEDIUM";
};
quality_button_medium.onEnterFrame = function()
{
if(_root.game_quality == "MEDIUM")
{
this._alpha = 100;
}
else
{
this._alpha = 25;
}
};
quality_button_high.onPress = function()
{
_root.game_quality = "HIGH";
};
quality_button_high.onEnterFrame = function()
{
if(_root.game_quality == "HIGH")
{
this._alpha = 100;
}
else
{
this._alpha = 25;
}
};